﻿module Sustainalytics.Screening {

    export class FilterDto {
        public id: string; 
        public name: string; 
        public type: FilterType;
        public ownerUserId: string;
        public isCurrentUserOwner: boolean;
        public accountId: string;
        public lastSaved: Date;
        public createdAt: Date;
        public isFavorite: boolean;
        public status: FilterStatus;
        public publishDate: Date;
        public unPublishDate: Date;
        public shared: boolean;
        public targetType: TargetType;
        public associatedUserId: string;
        public exportType: ExportType;

        //extended
        public portfolioId: string;
        public portfolioName: string;

        public universeId: number;
        public universeName: string;

        public selectedPortfolioUniverse:any;

        public peerGroup: string;
        public peerGroupName: string;

        public region: string;
        public regionName: string;

        public country: string;
        public countryName: string;

        public companyType: CompanyTypeEnum;       

        //only for Report
        public weightMatrixId: string;
        public weightMatrixName: string;

        public referenceUniverseId: string;
        public referenceUniverseName: string;

        public comparativeGroup: ComparativeGroupEnum;
        public companyTypePublicOrPrivate: number;
        public researchType: number;

        public isSourceForClone: boolean;

    }
}  

